import sys
import os

I = os.popen('dir /B *.py')
print(I.__next__())

I = os.popen('dir /B *.py')
print(next(I))
